package zero.mybatisplus.generator.constant;

import com.baomidou.mybatisplus.annotation.DbType;

/**
 * @author zero
 * 表格和数据源配置项
 */
public final class BasicConstant {
    /**
     * 作者
     */
    public static String AUTHOR = "zero" ;
    /**
     * 生成的实体类忽略表前缀: 不需要则置空
     */
    public static String ENTITY_IGNORE_PREFIX = "tb_" ;
    /**
     * 表名
     */
    public static String[] TABLES = {
            "sys_dict"
    };

    /**
     * 实体类的父类Entity
     */
    public static String SUPER_ENTITY_CLASS = "com.aimsphm.nuclear.common.entity.BaseDO" ;

    /**
     * 基础父类继承字段
     */
    public static String[] SUPER_ENTITY_COLUMNS = {
            "id", "creator", "modifier", "gmt_modified", "gmt_create", "is_deleted", "importance"
    };

    /**
     * 数据库
     */
    public static String username = "sa" ;
    public static String password = "zero" ;
    public static String url = "jdbc:sqlserver://localhost;databaseName=smart" ;
    public static DbType DB_TYPE = DbType.SQL_SERVER;
    public static String driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver" ;
}
